home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
varia
/
gc-nov90.lha
/
gc-26nov90
/
makefile
< prev
next >
Wrap
Makefile
|
1990-11-26
|
2KB
|
64 lines
CCFLAGS = -O
ASMB = `if test -f \`machine\`.s; then echo \`machine\`.s; else echo ""; fi; :`
ASMBO = `if test -f \`machine\`.o; then echo \`machine\`.o; else echo ""; fi; :`
CC = CC2.0
all: expand expand2 gcstring-test gctest gctest2 gctest3 gctest4 \
words gcalloc.a
asmb.o: mips.s vax.s
if test -f `machine`.s; then cc -c `machine`.s; else :; fi;
touch asmb.o
gcalloc.o: gcalloc.C gcalloc.h asmb.o
${CC} -c ${CCFLAGS} gcalloc.C ${ASMBO}
expand: expand.C gcalloc.o
${CC} -o expand ${CCFLAGS} expand.C ${ASMBO}
expand2: expand2.C gcalloc.o
${CC} -o expand2 ${CCFLAGS} expand2.C gcalloc.o ${ASMBO}
gcstring-test: gcstring-test.C gcstring.C gcstring.h gcalloc.o
${CC} -o gcstring-test ${CCFLAGS} gcstring-test.C gcstring.C gcalloc.o\
${ASMBO}
gctest: gctest.C gcalloc.o
${CC} -o gctest ${CCFLAGS} gctest.C gcalloc.o ${ASMBO}
gctest2: gctest2.C gcalloc.o
${CC} -o gctest2 ${CCFLAGS} gctest2.C gcalloc.o ${ASMBO}
gctest3: gctest3.C gcalloc.o
${CC} -o gctest3 ${CCFLAGS} gctest3.C gcalloc.o ${ASMBO}
gctest4: gctest4.C gcalloc.o
${CC} -o gctest4 ${CCFLAGS} gctest4.C gcalloc.o ${ASMBO}
words: words.C gcalloc.o
${CC} -o words ${CCFLAGS} words.C gcalloc.o ${ASMBO}
print:
enscript gcalloc.h gcalloc.C mips.s vax.s expand.C expand2.C \
gcstring-test.C gcstring.C gcstring.h gctest.C gctest2.C \
gctest3.C gctest4.C words.C
clean:
rm -f *.BAK *.CKP *.o *_STID.*
noprogs:
rm -f expand expand2 gcstring-test gctest gctest2 gctest3 gctest4 \
words gcalloc.a
gcalloc.a: gcalloc.o
rm -f gcalloc.a
ar q gcalloc.a gcalloc.o ${ASMBO}
ranlib gcalloc.a
tartape:
tar -cf ${TARFILE} README expand.C expand2.C gcalloc.C gcalloc.h \
gcstring-test.C gcstring.C gcstring.h gctest.C gctest2.C gctest3.C \
gctest4.C makefile mips.s vax.s words.C